package com.xxx.array;

import java.util.Arrays;

/**
 * @version v1.0
 * @Description:
 * @Author zhanzhongxin
 * @Date 2021/7/20 10:44
 * @Copyright 博为峰
 */
public class ArraysDemo {
    public static void main(String[] args) {
        int[] arr = new int[]{1, 2, 3, 4, 5, 6};
//        int[] copy = Arrays.copyOf(arr, 10);
//        System.out.println(Arrays.toString(copy));
        Arrays.fill(arr, 110);
        System.out.println("arr = " + Arrays.toString(arr));
    }
}
